/*
 * @Author: nqx2007 fenglimima334@163.com
 * @Date: 2023-12-11 08:51:01
 * @LastEditors: nqx2007 fenglimima334@163.com
 * @LastEditTime: 2023-12-12 20:45:47
 * @FilePath: /operator-manager/src/pages/CouponManage/constants.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { AgentCouponStatusEnum } from './type.d';

export const couponTypeMap = new Map([
  [1, { value: 1, text: '满减券' }],
  [2, { value: 2, text: '折扣券' }],
  [3, { value: 3, text: '特价券' }],
  [4, { value: 4, text: '代金券' }],
]);

export const agentCouponStatusMap = new Map([
  [
    AgentCouponStatusEnum.PROCESS,
    { value: AgentCouponStatusEnum.PROCESS, label: '推广中', color: '#fca66d' },
  ],

  [
    AgentCouponStatusEnum.CANCEL,
    { value: AgentCouponStatusEnum.CANCEL, label: '已取消', color: '' },
  ],
]);
